const mongoose = require('utils/mongoose.js');
const UserModel = mongoose.model('User', {
	taobao_id  : String,
	openid     : String,
	phone_num  : String,
	ticket     : String,
    subscribe  : Number, 
    nickname   : String, 
    sex        : String, 
    language   : String, 
    city       : String, 
    province   : String, 
    country    : String, 
    headimgurl : String,
    subscribe_time: Number,
    unionid    : String,
    remark     : String,
    groupid    : String,
    tagid_list : [],
});
class User extends UserModel{
    
}
module.exports = User;
// - id
// -taobao_id
// - openid
// -phone_num
// -from_user_id //邀请人
// -ticket  //用户永久性邀请码
